package com.tnsw.coreutils.http;

public interface THttpListener {
	void onProgressUpdate(THttpBase sender, Integer[] values);	// UI thread
	void onPostExecute(THttpBase sender, Long result);	// UI thread
	void onNewLineFetchBG(THttpBase sender, String line);  // Background thread
	void onReceiveResponseBG(THttpBase sender);		// First time when receive HTTP repsonse only
	void onBinaryReadBG(THttpBase sender, byte[] b);   // Every read in binary will trigger here

}
